package com.ifinc.common.service;


import org.apache.log4j.Logger;
import org.springframework.util.StringUtils;

/**
 * User: luotao
 * Date: 13-6-8
 * Time: 下午9:33
 */
public class CommonService {

    protected Logger logger = Logger.getLogger(getClass());

    public boolean empty(String str){
        return !StringUtils.hasText(str);
    }

    public boolean notEmpty(String str){
        return StringUtils.hasText(str);
    }

    public Logger getLogger(){
         return logger;
    }
}
